﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_OwnershipHistory
    {
        D_OwnershipHistory dal = new D_OwnershipHistory();
        public static B_OwnershipHistory CreateInstance()
        {
            return new B_OwnershipHistory();
        }
        public bool CreateOneOwnershipHistory(OwnershipHistory_Info OwnershipHistory_Info)
        {

            return dal.CreateOneOwnershipHistory(OwnershipHistory_Info);
        }
        public bool EditOneOwnershipHistory(OwnershipHistory_Info OwnershipHistory_Info)
        {

            return dal.EditOneOwnershipHistory(OwnershipHistory_Info);
        }
        public bool RemoveOneOwnershipHistory(int OwnerID)
        {

            return dal.RemoveOneOwnershipHistory(OwnerID);
        }
        public DataTable GetAllOwnershipHistory()
        {
            
            return dal.GetAllOwnershipHistory();
        }
        public OwnershipHistory_Info GetOneOwnershipHistory(int OwnerID)
        {
            
            return dal.GetOneOwnershipHistory(OwnerID);
        }
    }
}
